#ifndef _POSIX_SYSVAR_HPP_
#define _POSIX_SYSVAR_HPP_

#include <semaphore.h>

#include <sys/time.h>
#include <sys/resource.h>
#include <limits.h>

typedef pthread_mutex_t _mutex_t;
typedef sem_t _sem_t;

typedef struct {
	int relative;
	pthread_condattr_t	attr;
	pthread_cond_t		c;
	pthread_mutex_t		mutex;

}_cond_t;


typedef struct {

 	unsigned threshold;
 	unsigned in;
  	unsigned out;
	pthread_mutex_t mutex;
	pthread_cond_t cond;
} _barrier_t;

typedef pthread_rwlock_t _rwlock_t;

#endif
